import remove from '@dfeidao/atom-web/local/remove';
import fire from '@dfeidao/atom-web/msg/fire';
import { IFeidaoAiBrowserComponent } from '@dfeidao/web/interfaces';

// import get from '@feidao/web/atom/browser/local/get';



export default async function a005(fd: IFeidaoAiBrowserComponent) {
	//  调用事件
	fd.data.node.classList.add('display-n');
	const f = fd.data.node.querySelector<HTMLFormElement>('#pub_menu_form');
	f.menu_name.value = '';
	f.formname.value = '';
	f.priority.value = 0;
	f.description.value = '';
	f.icon.value = '';
	f.background.value = '';

	fire('zj-000001', 'ec-020');

	remove(fd, 'curr_dept');
}
